<template>
  <div class="FlyDetail">
    <div class="title">飞行详情</div>
    <div v-for="it in detail.inspectionHistoryList" :key="it" class="conts">
      <div class="label">飞行失败</div> :
      <div class="time">{{ it.createTime }}</div>
    </div>
  </div>
</template>

<script setup name="FlyDetail">
defineProps({
  detail: {
    type: [Object, Array],
    required: true
  }
})
</script>

<style lang="scss" scoped>
.FlyDetail {
  .title {
    font-size: 18px;
  }
  .conts {
    margin-left: 50px;
    margin-top: 20px;
    display: flex;

    .label {
      width: 100px;
      text-align: right;
    }
    .time {
      margin-left: 20px;
    }
  }
}
</style>
